package com.sunwayworld.basemodule.rm.environment.io;

import com.sunwayworld.baseline.framework.utils.TemplateExcelHelper;
import com.sunwayworld.basemodule.basedata.exporttemplate.service.LimsGenericTemplateService;
import com.sunwayworld.framework.data.Pair;
import com.sunwayworld.framework.spring.annotation.GikamBean;
import org.apache.poi.ss.usermodel.Sheet;
import org.apache.poi.ss.usermodel.Workbook;
import org.apache.poi.ss.usermodel.WorkbookFactory;
import org.springframework.stereotype.Component;

import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.nio.file.Path;
import java.util.ArrayList;
import java.util.List;

@Component(value = "LimsEnvironmentRoomExportTemplate")
@GikamBean
public class LimsEnvironmentRoomExportTemplate implements LimsGenericTemplateService<String> {

    @Override
    public List<Pair<String, String>> getTemplatePairList() {
        List<Pair<String, String>> templatePairList = new ArrayList<>();
        Pair<String, String> templatePair = Pair.of("LimsEnvironmentRoomExportTemplate", "环境管理导入模板");
        templatePairList.add(templatePair);
        return templatePairList;
    }
}
